package com.tuanzi.loan.business.service.onekey;

import com.tuanzi.loan.business.entity.onekey.CtrlOneKeyOnline;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.family.CtrlOneKeyOnlineRequest;
import com.tuanzi.loan.vo.response.family.CtrlOneKeyOnlineResponse;
import org.springframework.data.domain.Page;

/**
 * @author caiwanlin
 * @create 2018-07-12 11:48
 */
public interface CtrlOneKeyOnlineService extends BaseAuditService<CtrlOneKeyOnline,Long> {

    public Page<CtrlOneKeyOnlineResponse> list(PageSearcher<CtrlOneKeyOnlineRequest> pageSearcher);

    public void online(Long id);

    public void offline(Long id);
}
